import {createApp} from 'vue'
import './styles/reset.css'
import router from './router/index'
import {useRoute} from 'vue-router'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import "amfe-flexible"
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
import 'element-plus/dist/index.css'
const app = createApp(App)
app.config.globalProperties.$router = useRoute()

app.use(router).use(ElementPlus).use(Antd)
app.mount('#app')
